README
This replication archive contains all files needed to reproduce the analyses in:
Barceló, Joan, “Attitudinal and Behavioral Legacies of Wartime Violence: A Meta-Analysis” American Political Science Review.
 Directory overview
    • Outcomes/ Each file contains the code to replicate the results for each of the 22 meta-analyses, with three separate specifications. The summary of these estimates is stored in the Results/ folder.
    • Results/ Stores the summary estimates for each outcome. To run these scripts, specify the path to the datasets that contain the estimates for each outcome. Load these datasets from Datasets/.
        ◦ Files ending with _biv.csv contain bivariate estimates.
        ◦ Files ending with _random.csv contain the subset of estimates from experimental or quasi-experimental studies.
    • Figures/ and Tables/ Each folder contains scripts that replicate the figures and tables in the main text and in the online appendix. Run the files in these folders to generate the visuals and tables as shown in the paper.
    • Auxiliary/ Contains two datasets required for specific replications.
        ◦ model_data.dta is needed to replicate Figure E.2.
        ◦ include_studies.dta is required to replicate Table E.1.
    • Codebooks/ Contains three codebooks.
        ◦ codebook_datasets.xlsx documents the variables shared by all datasets in the Datasets/ directory.
        ◦ codebook_model_data.xlsx documents the variables in Auxiliary/model_data.dta.
        ◦ codebook_pop_studies.xlsx documents the variables in Auxiliary/include_studies.dta.
 How to run
    1. Set the working directory to the root of this archive.
    2. Define the path to Datasets/ in the scripts, then run the desired analysis.
    3. Use the scripts in Figures/ and Tables/ to reproduce all figures and tables, including those in the online appendix.
